package com.sun.showcase.client.query.mall;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.sun.showcase.client.domain.mall.Order;
import com.sun.showcase.pojo.SearchModel;

public class OrderQuery extends SearchModel<Order> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * 主键ID       db_column: id 
     */	
	private java.lang.String id;
	  /**
     * 订单号       db_column: order_no 
     */	
	private java.lang.String orderNo;
	  /**
     * 订单状态（待付、已付。。）       db_column: order_state_code 
     */	
	private java.lang.String orderStateCode;
	  /**
     * 订单状态名称       db_column: order_state_name 
     */	
	private java.lang.String orderStateName;
	  /**
     * 店铺id       db_column: shop_id 
     */	
	private java.lang.String shopId;
	  /**
     * 店铺名称       db_column: shop_name 
     */	
	private java.lang.String shopName;
	  /**
     * 买家账号       db_column: user_id 
     */	
	private java.lang.String userId;
	  /**
     * 买家名称       db_column: user_name 
     */	
	private java.lang.String userName;
	  /**
     * 商品金额       db_column: sum_amount 
     */	
	private java.lang.Double sumAmount;
	  /**
     * 运费       db_column: freight_amount 
     */	
	private java.lang.Double freightAmount;
	  /**
     * 运费方案id       db_column: freight_plan_id 
     */	
	private java.lang.Long freightPlanId;
	  /**
     * 合计付款金额       db_column: total_pay_amount 
     */	
	private java.lang.Double totalPayAmount;
	  /**
     * 实际支付金额       db_column: pay_amount 
     */	
	private java.lang.Double payAmount;
	  /**
     * 订单要求       db_column: order_require 
     */	
	private java.lang.String orderRequire;
	  /**
     * 订单生成时间       db_column: order_create_date 
     */	
	private java.util.Date orderCreateDate;
	  /**
     * 订单完成时间       db_column: order_complete_date 
     */	
	private java.util.Date orderCompleteDate;
	  /**
     * 订单支付时间       db_column: order_pay_date 
     */	
	private java.util.Date orderPayDate;
	  /**
     * 付款方式       db_column: pay_type 
     */	
	private java.lang.String payType;
	  /**
     * 是否已评价（0：否 1：是）       db_column: if_evaluate 
     */	
	private java.lang.String ifEvaluate;
	  /**
     * 联系人       db_column: link_person 
     */	
	private java.lang.String linkPerson;
	  /**
     * 联系电话       db_column: link_phone 
     */	
	private java.lang.String linkPhone;
	  /**
     * 联系地址       db_column: link_address 
     */	
	private java.lang.String linkAddress;
	  /**
     * 有效状态（默认1有效 0无效）       db_column: active_flag 
     */	
	private java.lang.String activeFlag;
	  /**
     * 创建人ID       db_column: create_by 
     */	
	private java.lang.String createBy;
	  /**
     * 创建人姓名       db_column: create_by_name 
     */	
	private java.lang.String createByName;
	  /**
     * 创建时间       db_column: create_date 
     */	
	private java.util.Date createDate;
	  /**
     * 修改人ID       db_column: modified_by 
     */	
	private java.lang.String modifiedBy;
	  /**
     * 修改人姓名       db_column: modified_by_name 
     */	
	private java.lang.String modifiedByName;
	  /**
     * 修改时间       db_column: modified_date 
     */	
	private java.util.Date modifiedDate;
	  /**
     * 退款金额       db_column: refund_amount 
     */	
	private java.lang.Double refundAmount;
	  /**
     * 快递公司名       db_column: express_company_name 
     */	
	private java.lang.String expressCompanyName;
	  /**
     * 快递公司编码       db_column: express_company_code 
     */	
	private java.lang.String expressCompanyCode;
	  /**
     * 快递单号       db_column: express_order_code 
     */	
	private java.lang.String expressOrderCode;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private java.lang.String ids[];
	
	private String payOrderNo;
	private String sendStatus;
	private Date orderSendDate;
	private Integer maxSettleDay;
	private Integer maxCompeleteDay;
	private String settleStatus;
	private String shopOwnerId;
	private String shopOwnerName;
	private List<OrderGoodsQuery> goodsList;

	private Double settleAmount;
	
	private Date orderCreateDateStart;
	
	private Date orderCreateDateStop;
	
	private Double distributionAmount;
	
	public Double getDistributionAmount() {
		return distributionAmount;
	}

	public void setDistributionAmount(Double distributionAmount) {
		this.distributionAmount = distributionAmount;
	}

	public Date getOrderCreateDateStart() {
		return orderCreateDateStart;
	}

	public void setOrderCreateDateStart(Date orderCreateDateStart) {
		this.orderCreateDateStart = orderCreateDateStart;
	}

	public Date getOrderCreateDateStop() {
		return orderCreateDateStop;
	}

	public void setOrderCreateDateStop(Date orderCreateDateStop) {
		this.orderCreateDateStop = orderCreateDateStop;
	}

	public Double getSettleAmount() {
		return settleAmount;
	}

	public void setSettleAmount(Double settleAmount) {
		this.settleAmount = settleAmount;
	}

	public String getShopOwnerName() {
		return shopOwnerName;
	}

	public void setShopOwnerName(String shopOwnerName) {
		this.shopOwnerName = shopOwnerName;
	}

	public String getShopOwnerId() {
		return shopOwnerId;
	}

	public void setShopOwnerId(String shopOwnerId) {
		this.shopOwnerId = shopOwnerId;
	}

	public String getSettleStatus() {
		return settleStatus;
	}

	public void setSettleStatus(String settleStatus) {
		this.settleStatus = settleStatus;
	}

	public Integer getMaxCompeleteDay() {
		return maxCompeleteDay;
	}

	public void setMaxCompeleteDay(Integer maxCompeleteDay) {
		this.maxCompeleteDay = maxCompeleteDay;
	}

	public Integer getMaxSettleDay() {
		return maxSettleDay;
	}

	public void setMaxSettleDay(Integer maxSettleDay) {
		this.maxSettleDay = maxSettleDay;
	}

	public Date getOrderSendDate() {
		return orderSendDate;
	}

	public void setOrderSendDate(Date orderSendDate) {
		this.orderSendDate = orderSendDate;
	}

	public String getSendStatus() {
		return sendStatus;
	}

	public void setSendStatus(String sendStatus) {
		this.sendStatus = sendStatus;
	}

	public String getPayOrderNo() {
		return payOrderNo;
	}

	public void setPayOrderNo(String payOrderNo) {
		this.payOrderNo = payOrderNo;
	}

	public List<OrderGoodsQuery> getGoodsList() {
		return goodsList;
	}

	public void setGoodsList(List<OrderGoodsQuery> goodsList) {
		this.goodsList = goodsList;
	}

	public java.lang.String getId() {
		return this.id;
	}
	
	public void setId(java.lang.String value) {
		this.id = value;
	}
	
	public java.lang.String getOrderNo() {
		return this.orderNo;
	}
	
	public void setOrderNo(java.lang.String value) {
		this.orderNo = value;
	}
	
	public java.lang.String getOrderStateCode() {
		return this.orderStateCode;
	}
	
	public void setOrderStateCode(java.lang.String value) {
		this.orderStateCode = value;
	}
	
	public java.lang.String getOrderStateName() {
		return this.orderStateName;
	}
	
	public void setOrderStateName(java.lang.String value) {
		this.orderStateName = value;
	}
	
	public java.lang.String getShopId() {
		return this.shopId;
	}
	
	public void setShopId(java.lang.String value) {
		this.shopId = value;
	}
	
	public java.lang.String getShopName() {
		return this.shopName;
	}
	
	public void setShopName(java.lang.String value) {
		this.shopName = value;
	}
	
	public java.lang.String getUserId() {
		return this.userId;
	}
	
	public void setUserId(java.lang.String value) {
		this.userId = value;
	}
	
	public java.lang.String getUserName() {
		return this.userName;
	}
	
	public void setUserName(java.lang.String value) {
		this.userName = value;
	}
	
	public java.lang.Double getSumAmount() {
		return this.sumAmount;
	}
	
	public void setSumAmount(java.lang.Double value) {
		this.sumAmount = value;
	}
	
	public java.lang.Double getFreightAmount() {
		return this.freightAmount;
	}
	
	public void setFreightAmount(java.lang.Double value) {
		this.freightAmount = value;
	}
	
	public java.lang.Long getFreightPlanId() {
		return this.freightPlanId;
	}
	
	public void setFreightPlanId(java.lang.Long value) {
		this.freightPlanId = value;
	}
	
	public java.lang.Double getTotalPayAmount() {
		return this.totalPayAmount;
	}
	
	public void setTotalPayAmount(java.lang.Double value) {
		this.totalPayAmount = value;
	}
	
	public java.lang.Double getPayAmount() {
		return this.payAmount;
	}
	
	public void setPayAmount(java.lang.Double value) {
		this.payAmount = value;
	}
	
	public java.lang.String getOrderRequire() {
		return this.orderRequire;
	}
	
	public void setOrderRequire(java.lang.String value) {
		this.orderRequire = value;
	}
	
	public java.util.Date getOrderCreateDate() {
		return this.orderCreateDate;
	}
	
	public void setOrderCreateDate(java.util.Date value) {
		this.orderCreateDate = value;
	}
	
	public java.util.Date getOrderCompleteDate() {
		return this.orderCompleteDate;
	}
	
	public void setOrderCompleteDate(java.util.Date value) {
		this.orderCompleteDate = value;
	}
	
	public java.util.Date getOrderPayDate() {
		return this.orderPayDate;
	}
	
	public void setOrderPayDate(java.util.Date value) {
		this.orderPayDate = value;
	}
	
	public java.lang.String getPayType() {
		return this.payType;
	}
	
	public void setPayType(java.lang.String value) {
		this.payType = value;
	}
	
	public java.lang.String getIfEvaluate() {
		return this.ifEvaluate;
	}
	
	public void setIfEvaluate(java.lang.String value) {
		this.ifEvaluate = value;
	}
	
	public java.lang.String getLinkPerson() {
		return this.linkPerson;
	}
	
	public void setLinkPerson(java.lang.String value) {
		this.linkPerson = value;
	}
	
	public java.lang.String getLinkPhone() {
		return this.linkPhone;
	}
	
	public void setLinkPhone(java.lang.String value) {
		this.linkPhone = value;
	}
	
	public java.lang.String getLinkAddress() {
		return this.linkAddress;
	}
	
	public void setLinkAddress(java.lang.String value) {
		this.linkAddress = value;
	}
	
	public java.lang.String getActiveFlag() {
		return this.activeFlag;
	}
	
	public void setActiveFlag(java.lang.String value) {
		this.activeFlag = value;
	}
	
	public java.lang.String getCreateBy() {
		return this.createBy;
	}
	
	public void setCreateBy(java.lang.String value) {
		this.createBy = value;
	}
	
	public java.lang.String getCreateByName() {
		return this.createByName;
	}
	
	public void setCreateByName(java.lang.String value) {
		this.createByName = value;
	}
	
	public java.util.Date getCreateDate() {
		return this.createDate;
	}
	
	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}
	
	public java.lang.String getModifiedBy() {
		return this.modifiedBy;
	}
	
	public void setModifiedBy(java.lang.String value) {
		this.modifiedBy = value;
	}
	
	public java.lang.String getModifiedByName() {
		return this.modifiedByName;
	}
	
	public void setModifiedByName(java.lang.String value) {
		this.modifiedByName = value;
	}
	
	public java.util.Date getModifiedDate() {
		return this.modifiedDate;
	}
	
	public void setModifiedDate(java.util.Date value) {
		this.modifiedDate = value;
	}
	
	public java.lang.Double getRefundAmount() {
		return this.refundAmount;
	}
	
	public void setRefundAmount(java.lang.Double value) {
		this.refundAmount = value;
	}
	
	public java.lang.String getExpressCompanyName() {
		return this.expressCompanyName;
	}
	
	public void setExpressCompanyName(java.lang.String value) {
		this.expressCompanyName = value;
	}
	
	public java.lang.String getExpressCompanyCode() {
		return this.expressCompanyCode;
	}
	
	public void setExpressCompanyCode(java.lang.String value) {
		this.expressCompanyCode = value;
	}
	
	public java.lang.String getExpressOrderCode() {
		return this.expressOrderCode;
	}
	
	public void setExpressOrderCode(java.lang.String value) {
		this.expressOrderCode = value;
	}
	
	public Map<String, Object> getSearchMap() {
		return searchMap;
	}
	
	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}
	
	public java.lang.String[] getIds() {
		return ids;
	}
	
	public void setIds(java.lang.String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.DEFAULT_STYLE);
	}
	
}

